package com.martini.admin.request.login;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author martini at 2021/10/11 11:49
 */
@Data
@Accessors(chain = true)
public class LoginReq {
    @NotNull
    @NotBlank
    private String username;
    @NotNull
    @NotBlank
    private String password;
}
